import 'package:json_annotation/json_annotation.dart';

part 'find_model.g.dart';

@JsonSerializable()
class FindePageData {
  int? total;
  List<FindListData>? list;
  FindePageData();

  factory FindePageData.fromJson(Map<String, dynamic> json) =>
      _$FindePageDataFromJson(json);
  Map<String, dynamic> toJson() => _$FindePageDataToJson(this);
}

@JsonSerializable()
class FindListData {
  int? id;
  int? ebike_type_id;
  String? ebike_type_name;
  int? kind;
  String? title;
  String? country;
  String? language;
  String? url;
  String? head_img;
  String? nick_name;
  String? knowledge_type_name;
  int? created_at;
  FindListData();

  factory FindListData.fromJson(Map<String, dynamic> json) =>
      _$FindListDataFromJson(json);
  Map<String, dynamic> toJson() => _$FindListDataToJson(this);
}
